package com.gangye.service;

import com.gangye.entity.City;

import java.util.List;

/**
 * @Classname CityService
 * @Description city的service层
 * @Date 2020/5/27 9:34
 * @Created by gangye
 */
public interface CityService {
    City getCityByPrimarykey(Integer id);

    List<City> showAllCitys();

    void insertOneCity(City city);

    void update(City city);
}
